<%@page import="cn.gcxy.entity.Order"%>
<%@page import="com.mysql.fabric.xmlrpc.base.Data"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="config.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>会员订单</title>
	<link href="${ctx}/css/order.css" rel="stylesheet"/>
	<script type="text/javascript" src="${ctx}/js/jquery-3.3.1.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/order.js"></script>
</head>
<body>
	<div class="handler4">	
		<h3>下订单</h3>
		<table class="myTable" id="${order.uid}">
			<tr>
				<td class="td1"><span>所购物商品种类数：</span></td>
				<td class="td2"><input id="classSum" type="text" value="${order.classCount}"></td>
			</tr>
			<tr>
				<td class="td1"><span>所购物商品总件数：</span></td>
				<td class="td2"><input id="countSum" type="text" value="${order.count}"></td>
			</tr>
			<tr>
				<td class="td1"><sapn>价格总计：</sapn></td>
				<td class="td2"><input id="priceSum" type="text" value="${order.total}"></td>
			</tr>
			<tr>
				<td class="td1"><sapn>订单日期：</sapn></td>
				<td class="td2"><input id="date" type="text" value="${order.date}"</td>
			</tr>
			<tr>
				<td class="td1"><sapn>付款方式：</sapn></td>
				<td class="td2"><input id="payment" type="text" value="${order.fhfs}"></td>
			</tr>
			<tr>
				<td class="td1"><sapn>收货方式：</sapn></td>
				<td class="td2"><input id="delivery" type="text" value="${order.shfs}"></td>
			</tr>
			<tr>
				<td colspan="2">-------------------------------------------------------------------------------------------</td>
			</tr>
			<tr>
				<td class="td1"><sapn>收货人姓名：</sapn></td>
				<td class="td2"><input id="name" type="text" value="<%=Order.getUser().getName()%>">必填、中午、2-10个字符</td>
			</tr>
			<tr>
				<td class="td1"><sapn>收货人地址：</sapn></td>
				<td class="td2"><input id="address" type="text" value="<%=Order.getUser().getAddress()%>">必填、3-100个字符</td>
			</tr>
			<tr>
				<td class="td1"><sapn >收货人邮编：</sapn></td>
				<td class="td2"><input id="emailNum" type="text" value="<%=Order.getUser().getEmailnum()%>">必填、且6位数</td>
			</tr>
			<tr>
				<td class="td1"><sapn>收货人电话：</sapn></td>
				<td class="td2"><input id="phone" type="text" value="<%=Order.getUser().getPhone()%>">必填、且位11个数字</td>
			</tr>
			<tr>
				<td class="td1"><sapn>收货人邮箱：</sapn></td>
				<td class="td2"><input id="email" type="text" value="<%=Order.getUser().getEmail()%>">必填、且格式要正确</td>
			</tr>
			<tr>
				<td class=""></td>
				<td class="td2"><button id="buy">下订单</button> <button id="reset">重置</button></td>
			</tr>
		</table>
	</div>
</body>

</html>